package com.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 货品实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods {
    private Integer id; //ID
    private Integer packSize; //货品规格
    private Double price; //价格
    private Integer warehouseId; //仓库ID
    private String name; //货品名称
    private Double inventory; //库存数量
    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime; //修改时间
}
